<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .container1 {
      color: #fff;
    }

    .first {
      margin-bottom: 40px;
      padding-left: 10px;
      height: 200px;
      width: 200px;
      background-color: #28adbd;

    }

    .second {
      margin-top: 20px;
      height: 200px;
      width: 200px;
      background-color: #6871c1;
    }
  </style>
</head>

<body>
  <div class="container1">
    <div class="first">first p</div>
    <div class="second">second p</div>
  </div>
</body>

</html>